home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / autolib / get_auto_option.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-18  |  234 b   |  18 lines

  1. /*
  2. ### get an auto option depending on the AUTO task ### 
  3. */
  4.  
  5. int get_auto_option()
  6. {
  7.     int option;
  8.     extern int auto_n1,auto_n2;
  9.     
  10.     if(auto_n2==0)
  11.         option = 1;
  12.     else if(auto_n1==1)
  13.         option = 2;
  14.     else
  15.         option = 3;
  16.     return(option);
  17. }
  18.